package model.map;

import model.entity.MovementType;

/**
 * This class represents a muddy tile.
 * @author Zachary
 */
public class Mud extends Terrain{

	public Mud(String graphicID) {
		super(graphicID);
	}

	@Override
	public int getSpeed(MovementType t) {
		return t.getMovementSpeedMud();
	}

	@Override
	public boolean isPassable(MovementType t) {
		return t.isCanWalkOnMud();
	}
}
